package org.deschutter.parsers;

import org.deschutter.init.ScimitarBot;

import java.math.BigDecimal;

/**
 * User: Berten De Schutter
 * Date: 08-Jul-2009
 * Time: 16:58:08
 */
public class RunnableParser implements Runnable {
    String message;
    BigDecimal userID;
    ScimitarBot bot;

    public RunnableParser(String message, BigDecimal userID, ScimitarBot bot) {
        this.message = message;
        this.userID = userID;
        this.bot = bot;
    }

    public void run() {
        Parser.parse(Parser.getScanUrls(message),userID,bot);
    }
}
